<?php
if (!defined('IN_MANU')) { die('[ERROR] You cannot load this page directly !!!'); }

/**
 * Registry class
 * 
 * @package    application
 * 
 */
 
Class Registry 
{    
    private $vars = array();
    
    /**
     * set undefined vars
     */
    public function __set($index, $value)
    {
        $this->vars[$index] = $value;
    }
    
    /**
     * get vars
     */
    public function __get($index)
    {
        return $this->vars[$index];
    }


}

?>
